﻿using Xtensive.Orm;

namespace Structures.Model
{
    [HierarchyRoot]
    public class Company : Entity
    {
        [Field, Key]
        public int Id { get; set; }

        [Field]
        public string Name { get; set; }

        [Field]
        public Address Address { get; set; }

        public Company(Session session) :
            base(session)
        {}
    }
}